const router = require('koa-router')();
const cityData = require("../data/cityselect")
const {relationItems} = require("../data/relationItem")


router.get("/citylist", async (ctx) => {
    const resData = {
        data: cityData,
        code: 0,
        message: "0"
    }
    ctx.body = resData
})

router.get("/relation", async (ctx) => {
    const resData = {
        data: relationItems,
        code: 0,
        message: "0"
    }
    ctx.body = resData
})

module.exports = router.routes();